Skip to content

Add initial scripts for image maintainers to use to auto-generate appropriate GitHub Actions #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 28, 2020

Conversation

tianon
Copy link
Member

@tianon tianon commented Apr 27, 2020

This (plus docker-library/official-images#7888) has been used to successfully run tests in GitHub actions across the following images:

I've not done much testing/thinking around how I'd use this as a non-docker-library maintainer (esp. around my personal repos which I use this pattern for maintaining, for example), but I think this gives us a solid base to move outwards from.

Most of this was made possible by https://github.blog/changelog/2020-04-15-github-actions-new-workflow-features/ -- I was hoping we could take this a step further and have the script directly generate steps: values (because that's way nicer looking, especially for builds that do multiple images; https://twitter.com/tianon/status/1253032501796147200), but the answer is no (maybe "not yet?" 🤞 😅).

@tianon
Copy link
Member Author

tianon commented Apr 27, 2020

I've not done much testing/thinking around how I'd use this as a non-docker-library maintainer (esp. around my personal repos which I use this pattern for maintaining, for example), but I think this gives us a solid base to move outwards from.

I did a little testing on this and was able to make it work reasonably transparently with BASHBREW_NAMESPACE with very minimal changes here (dd71778). 👍

@tianon tianon force-pushed the downstream-github-actions branch from 999dc3f to b22f02e Compare April 28, 2020 00:21
@tianon
Copy link
Member Author

tianon commented Apr 28, 2020

Very successful non-docker-library PoC in tianon/dockerfiles@9f8c457 -- the result in https://github.com/tianon/dockerfiles/runs/624403625 looks about how I'd expect it to (and resulted in 53b96a6 + b22f02e here).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants